package com.second.client.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.second.client.pojo.entity.ClientCouponRecord;
import com.second.client.pojo.vo.CouponRecordQueryVo;
import org.apache.ibatis.annotations.Param;

/**
 * (ClientCouponRecord)表数据库访问层
 *
 * @author lvyongqi
 * @since 2021-07-25 14:49:52
 */
public interface ClientCouponRecordDao extends BaseMapper<ClientCouponRecord> {

    Page<ClientCouponRecord> getAllCouponRecord(Page<ClientCouponRecord> page,
                                                @Param("couponRecordQueryVo") CouponRecordQueryVo couponRecordQueryVo);

    boolean updateUseStatusById(Integer id);
}
